<template>
    <div class="set-wrapped">
        <div class="set-content">
            <div class="texts">
                <div>
                    <div>ssl证书验证</div>
                    <el-switch v-model="value1" />
                    <div>证书管理</div>
                </div>
                <div>
                    <div>自动跟随重定向</div>
                    <el-switch v-model="value2" />
                    <div>通用设置</div>
                </div>
            </div>
        </div>
    </div>
</template>
    
<script setup lang='ts'>
import { ref } from 'vue'
//按钮开关
const value1 = ref(true)
const value2 = ref(true)
</script>
    
<style scoped lang="scss">
.set-wrapped {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 10px 10px 20px 10px;

    .set-content {
        width: 100%;
        height: 100%;
        border-collapse: collapse;
        border-spacing: 0;
        border: 2px solid #ebeef5;

        .texts {
            width: 100%;
            height: 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-evenly;
            &>div {
                // height: 50%;
                width: 100%;
                background-color: #fff;
                display: flex;
                justify-content: center;
                align-items: center;

                div {
                    height: 23px;
                    line-height: 23px;
                    font-size: 23px;
                }

                div:nth-child(1) {
                    width: 45%;
                    text-align: right;
                }

                div:nth-child(2) {
                    width: 90px;

                    //按钮
                    .el-switch {
                        justify-content: center;
                    }
                }

                div:nth-child(3) {
                    width: 49%;
                }
            }
        }
    }
}
</style>